package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.AppProductMaterialEntity;
import yf.mall.entity.AppProductMaterialEntityExample;

@Mapper
@Repository
public interface AppProductMaterialExtMapper {
    long countByExample(AppProductMaterialEntityExample example);

    int deleteByExample(AppProductMaterialEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AppProductMaterialEntity record);

    int insertSelective(AppProductMaterialEntity record);

    List<AppProductMaterialEntity> selectByExample(AppProductMaterialEntityExample example);

    AppProductMaterialEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AppProductMaterialEntity record, @Param("example") AppProductMaterialEntityExample example);

    int updateByExample(@Param("record") AppProductMaterialEntity record, @Param("example") AppProductMaterialEntityExample example);

    int updateByPrimaryKeySelective(AppProductMaterialEntity record);

    int updateByPrimaryKey(AppProductMaterialEntity record);
}